from engine import Engine
from tsy.solver import GreedySolver
engine = Engine(mySolver=GreedySolver)

# 分析数据
# engine.analyse_all_data()

# 单次求解输出到屏幕
engine.solve_from_file_to_std()

# 单次求解输出到文件
# engine.solve_from_file_to_file(output_path='data2.out')

# 对所有数据求解，保留有史以来最好的
engine.update_best_sol_for_all_data_by_solve()
# 列出所有数据求解的最优值的总和
engine.list_best_solution_value_for_all_data()
